
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
 */
package insertionsort;

/**
 *
 * @author nikhil
 */
public class InsertionSort {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        long  time  = System.nanoTime();
        int[] array = {
            10, 17, 8, 26, 51, 32, 11, 12, 11, 27
        };

        UserMainCode.insertionSort(array);

        for (int i : UserMainCode.output) {
            System.out.println(i);
        }

        time = System.nanoTime() - time;
        System.out.println(time);
    }
}


